\hypertarget{class_compound_controller}{
\section{CompoundController Class Reference}
\label{class_compound_controller}\index{CompoundController@{CompoundController}}
}


{\ttfamily \#include $<$CompoundController.hpp$>$}

Inheritance diagram for CompoundController:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_compound_controller}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_compound_controller_a8bb138d401818b3437290e3071a46917}{CompoundController} ()
\item 
virtual \hyperlink{class_compound_controller_a461f7534f8b8083199fb5a2a8ed3bddd}{$\sim$CompoundController} ()
\item 
void \hyperlink{class_compound_controller_af626ae245a56f50ec7a2464fe8c93ad0}{AddController} (\hyperlink{class_robot_controller}{RobotController} \&controller)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_compound_controller_a9891417bc98a1ec06a505c0920d93233}{
virtual void {\bfseries ActivateImpl} ()}
\label{class_compound_controller_a9891417bc98a1ec06a505c0920d93233}

\item 
\hypertarget{class_compound_controller_a3c29df33114959d34ddefdd243e60fe8}{
virtual void {\bfseries DeactivateImpl} ()}
\label{class_compound_controller_a3c29df33114959d34ddefdd243e60fe8}

\item 
virtual void \hyperlink{class_compound_controller_ae9d9fe5cc2f13b9145f888f9ff246f83}{HandleAddedToRobot} (\hyperlink{class_systematic_robot}{SystematicRobot} \&robot)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\hyperlink{class_compound_controller}{CompoundController} activates/deactivates a specified list of RobotControllers when it activates/deactivates (respectivly).

Testing shows this works for at least one controller. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_compound_controller_a8bb138d401818b3437290e3071a46917}{
\index{CompoundController@{CompoundController}!CompoundController@{CompoundController}}
\index{CompoundController@{CompoundController}!CompoundController@{CompoundController}}
\subsubsection[{CompoundController}]{\setlength{\rightskip}{0pt plus 5cm}CompoundController::CompoundController (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)}}
\label{class_compound_controller_a8bb138d401818b3437290e3071a46917}
Constructor for \hyperlink{class_compound_controller}{CompoundController}. \hypertarget{class_compound_controller_a461f7534f8b8083199fb5a2a8ed3bddd}{
\index{CompoundController@{CompoundController}!$\sim$CompoundController@{$\sim$CompoundController}}
\index{$\sim$CompoundController@{$\sim$CompoundController}!CompoundController@{CompoundController}}
\subsubsection[{$\sim$CompoundController}]{\setlength{\rightskip}{0pt plus 5cm}CompoundController::$\sim$CompoundController (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{class_compound_controller_a461f7534f8b8083199fb5a2a8ed3bddd}
Destructor for \hyperlink{class_compound_controller}{CompoundController}. 

\subsection{Member Function Documentation}
\hypertarget{class_compound_controller_af626ae245a56f50ec7a2464fe8c93ad0}{
\index{CompoundController@{CompoundController}!AddController@{AddController}}
\index{AddController@{AddController}!CompoundController@{CompoundController}}
\subsubsection[{AddController}]{\setlength{\rightskip}{0pt plus 5cm}void CompoundController::AddController (
\begin{DoxyParamCaption}
\item[{{\bf RobotController} \&}]{controller}
\end{DoxyParamCaption}
)}}
\label{class_compound_controller_af626ae245a56f50ec7a2464fe8c93ad0}
Adds a controller to the list of controllers to be activated/deactivated when the \hyperlink{class_compound_controller}{CompoundController} gets activated/deactivated (respectivly).


\begin{DoxyParams}{Parameters}
{\em controller} & The controller to be activated/deactivated when the \hyperlink{class_compound_controller}{CompoundController} gets activated/deactivated (respectivly). \\
\hline
\end{DoxyParams}
\hypertarget{class_compound_controller_ae9d9fe5cc2f13b9145f888f9ff246f83}{
\index{CompoundController@{CompoundController}!HandleAddedToRobot@{HandleAddedToRobot}}
\index{HandleAddedToRobot@{HandleAddedToRobot}!CompoundController@{CompoundController}}
\subsubsection[{HandleAddedToRobot}]{\setlength{\rightskip}{0pt plus 5cm}void CompoundController::HandleAddedToRobot (
\begin{DoxyParamCaption}
\item[{{\bf SystematicRobot} \&}]{robot}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}protected, virtual\mbox{]}}}}
\label{class_compound_controller_ae9d9fe5cc2f13b9145f888f9ff246f83}
This function should be overridden to handle the event when the controller is added to the \hyperlink{class_systematic_robot}{SystematicRobot}. It will be called as often as possible when this controller is active. 

Reimplemented from \hyperlink{class_robot_controller_a44fdc7736b45b3801bdd650c2e4487cc}{RobotController}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
C:/Documents and Settings/Sam/My Documents/My Projects/Entech-\/Fpk/Entech-\/Fpk/CompoundController.hpp\item 
C:/Documents and Settings/Sam/My Documents/My Projects/Entech-\/Fpk/Entech-\/Fpk/CompoundController.cpp\end{DoxyCompactItemize}
